import { getMenuServices } from '@/services/menuServices'

// 获取菜单
export async function getMenuModel({payload,callback}) {
  try {
    let res = await getMenuServices(payload)
    if(res.code === 0){
      console.log(res)
      callback && callback(res)
    }
  }catch (e) {
    console.log(e)
  }

}